package cn.ds.assets.module.assets.convert.dataQualityRuleTemplate;

import java.util.*;

import cn.ds.assets.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.ds.assets.module.assets.controller.admin.dataQualityRuleTemplate.vo.*;
import cn.ds.assets.module.assets.dal.dataobject.dataQualityRuleTemplate.BaseDataQualityRuleTemplateDO;

/**
 * 数据质量规则模板关联 Convert
 *
 * @author admin
 */
@Mapper
public interface BaseDataQualityRuleTemplateConvert {

    BaseDataQualityRuleTemplateConvert INSTANCE = Mappers.getMapper(BaseDataQualityRuleTemplateConvert.class);

    BaseDataQualityRuleTemplateDO convert(BaseDataQualityRuleTemplateCreateReqVO bean);

    BaseDataQualityRuleTemplateDO convert(BaseDataQualityRuleTemplateUpdateReqVO bean);

    BaseDataQualityRuleTemplateRespVO convert(BaseDataQualityRuleTemplateDO bean);

    List<BaseDataQualityRuleTemplateRespVO> convertList(List<BaseDataQualityRuleTemplateDO> list);

    PageResult<BaseDataQualityRuleTemplateRespVO> convertPage(PageResult<BaseDataQualityRuleTemplateDO> page);

    List<BaseDataQualityRuleTemplateExcelVO> convertList02(List<BaseDataQualityRuleTemplateDO> list);

}
